package com.teacher.math;

import java.lang.reflect.Method;

public class Reflect {
    public static void main(String[] args) {
        try {
            CompareSort compareSort = CompareSort.class.newInstance();
            Method[] declaredMethods = CompareSort.class.getDeclaredMethods();
        } catch (InstantiationException e) {
            e.printStackTrace();
        } catch (IllegalAccessException e) {
            e.printStackTrace();
        }
    }
}
